import request from '@/utils/request'

// 查询土建结构保养维修列表
export function listTjjgbywx(query) {
  return request({
    url: '/biz/tjjgbywx/list',
    method: 'get',
    params: query
  })
}

// 查询土建结构保养维修详细
export function getTjjgbywx(id) {
  return request({
    url: '/biz/tjjgbywx/' + id,
    method: 'get'
  })
}

// 新增土建结构保养维修
export function addTjjgbywx(data) {
  return request({
    url: '/biz/tjjgbywx',
    method: 'post',
    data: data
  })
}

// 修改土建结构保养维修
export function updateTjjgbywx(data) {
  return request({
    url: '/biz/tjjgbywx',
    method: 'put',
    data: data
  })
}

// 删除土建结构保养维修
export function delTjjgbywx(id) {
  return request({
    url: '/biz/tjjgbywx/' + id,
    method: 'delete'
  })
}

// 导出土建结构保养维修
export function exportTjjgbywx(query) {
  return request({
    url: '/biz/tjjgbywx/export',
    method: 'get',
    params: query
  })
}